package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值选项对象 yx_vip_recharge_options
 * 
 * @author lingyu
 * @date 2024-04-03
 */
public class YxVipRechargeOptions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 时长(天数) */
    @Excel(name = "时长(天数)")
    private Long duration;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** vip等级id */
    @Excel(name = "vip等级id")
    private Long vipLevel;

    /** vip等级id */
    @Excel(name = "vipName")
    private String vipName;

    /** 前端展示时间 */
    @Excel(name = "前端展示时间")
    private String timeString;

    /** 折扣信息 */
    @Excel(name = "折扣信息")
    private String discountTip;

    /** 展示标签 */
    @Excel(name = "展示标签")
    private String tag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setVipLevel(Long vipLevel) 
    {
        this.vipLevel = vipLevel;
    }

    public Long getVipLevel() 
    {
        return vipLevel;
    }

    public String getVipName() {
        return vipName;
    }

    public void setVipName(String vipName) {
        this.vipName = vipName;
    }

    public String getTimeString() {
        return timeString;
    }

    public void setTimeString(String timeString) {
        this.timeString = timeString;
    }

    public String getDiscountTip() {
        return discountTip;
    }

    public void setDiscountTip(String discountTip) {
        this.discountTip = discountTip;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("duration", getDuration())
            .append("price", getPrice())
            .append("vipLevel", getVipLevel())
            .append("createTime", getCreateTime())
            .toString();
    }
}
